#ifndef __SCNS_VL53L1X_H__
#define __SCNS_VL53L1X_H__

#include "ScnsConfig.h"

#if (defined(SCNS_VL53L1X_ENABLE)&&SCNS_VL53L1X_ENABLE==1)||(defined(SCNS_VL53L1X_VIRTUAL_ENABLE)&&SCNS_VL53L1X_VIRTUAL_ENABLE==1)

#include "ScnsYing.h"
#include "ScnsBspVl53l1x.h"

typedef struct
{
    uint64 lastUs;
    uint8 status;
    uint16 millimeters;
    uint16 ambientCount;
    uint16 signalCount;
}ScnsVl53l1xResult;

extern ScnsVl53l1xResult scnsVl53l1xResult[SCNS_VL53L1X_MAX];

#endif

#if defined(SCNS_VL53L1X_ENABLE)&&SCNS_VL53L1X_ENABLE==1
extern ScnsStatus scnsVl53l1xInit(ScnsVl53l1xEnum vl5N);
extern void scnsVl53l1xInterrupt(ScnsVl53l1xEnum vl5N);
extern ScnsStatus scnsVl53l1xReInit(ScnsVl53l1xEnum vl5N);
extern void scnsVl53l1xSetRunning(ScnsVl53l1xEnum vl5N,uint8 running);
extern uint8 scnsVl53l1xISRunning(ScnsVl53l1xEnum vl5N);

#endif
#endif
